package com.sto.common.handler;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;

/**
 * @author ChenPeng
 * @since 2022-07-15 9:42
 */
@Component
public class LiShiHandler implements Handler {
    @Override
    public void AAA(String name) {
        System.out.println(name + "完成任务");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        Factory.register("李四",this);
    }

}
